export default {
  deviewCodeName: 'Wizard_event',
  deviewId: 'B7727115-ED46-493E-B9E8-E899393643E0',
  appWFId: 'workflow',
  accUserMode: 2,
  capLanguageRes: {
    lanResTag: 'DE.LNAME.MASTER',
  },
  caption: '向导_事件',
  codeName: 'master_wizard_event',
  appDataEntityId: 'web.master',
  appViewEngines: [
    {
      engineCat: 'VIEW',
      engineType: 'WizardView',
      id: 'engine',
    },
  ],
  appViewLogics: [
    {
      eventNames: 'onInitialized',
      logicTrigger: 'CTRLEVENT',
      logicType: 'SCRIPT',
      ctrlName: 'wizardpanel',
      scriptCode:
        "const tips = '向导面板初始化完成事件触发';\r\nconsole.log(tips);",
      builtinLogic: true,
      id: 'logic',
    },
  ],
  appViewMsgGroupId: 'wizard_event',
  appViewParams: [
    {
      key: 'SRFRENEWSESSION',
      value: 'true',
      name: 'SRFRENEWSESSION',
      id: 'srfrenewsession',
    },
  ],
  controls: [
    {
      finishControlAction: {
        appDEMethodId: 'mock_create',
        appDataEntityId: 'web.master',
        id: 'finish',
      },
      initControlAction: {
        appDEMethodId: 'createtemp',
        appDataEntityId: 'web.master',
        id: 'init',
      },
      deeditForms: [
        {
          getControlAction: {
            appDEMethodId: 'gettemp',
            appDataEntityId: 'web.master',
            id: 'load',
          },
          updateControlAction: {
            appDEMethodId: 'updatetemp',
            appDataEntityId: 'web.master',
            id: 'update',
          },
          dewizardForm: {
            formTag: 'step1',
            deformName: '向导表单1',
            dewizardStepId: '步骤1',
            stepActions: ['NEXT'],
            stepTag: 'step1',
            firstForm: true,
            id: '向导表单1',
          },
          formFuncMode: 'WIZARDFORM',
          deformPages: [
            {
              layout: {
                columnCount: 24,
                layout: 'TABLE_24COL',
              },
              deformDetails: [
                {
                  dataType: 25,
                  enableCond: 3,
                  labelPos: 'LEFT',
                  labelWidth: 130,
                  noPrivDisplayMode: 1,
                  appDEFieldId: 'name',
                  editor: {
                    maxLength: 200,
                    editorType: 'TEXTBOX',
                    valueType: 'SIMPLE',
                    editable: true,
                    id: 'name',
                  },
                  capLanguageRes: {
                    lanResTag: 'DEF.LNAME.MASTER.NAME',
                  },
                  caption: '名称',
                  codeName: 'name',
                  detailStyle: 'DEFAULT',
                  detailType: 'FORMITEM',
                  layoutPos: {
                    colMD: 24,
                    layout: 'TABLE_24COL',
                  },
                  showCaption: true,
                  id: 'name',
                },
                {
                  dataType: 25,
                  enableCond: 3,
                  labelPos: 'LEFT',
                  labelWidth: 130,
                  noPrivDisplayMode: 1,
                  appDEFieldId: 'id',
                  editor: {
                    editorType: 'HIDDEN',
                    valueType: 'SIMPLE',
                    editable: true,
                    id: 'id',
                  },
                  allowEmpty: true,
                  hidden: true,
                  capLanguageRes: {
                    lanResTag: 'DEF.LNAME.MASTER.ID',
                  },
                  caption: '标识',
                  codeName: 'id',
                  detailStyle: 'DEFAULT',
                  detailType: 'FORMITEM',
                  layoutPos: {
                    colMD: 24,
                    layout: 'TABLE_24COL',
                  },
                  id: 'id',
                },
              ],
              caption: '基本信息',
              codeName: 'formpage1',
              detailStyle: 'DEFAULT',
              detailType: 'FORMPAGE',
              id: 'formpage1',
            },
          ],
          layout: {
            columnCount: 24,
            layout: 'TABLE_24COL',
          },
          tabHeaderPos: 'TOP',
          noTabHeader: true,
          autoLoad: true,
          showBusyIndicator: true,
          codeName: 'wizardform1',
          controlType: 'FORM',
          logicName: '向导表单1',
          appDataEntityId: 'web.master',
          controlLogics: [
            {
              eventNames: 'SAVE',
              logicTag: 'wizardpanel_form_step1',
              logicType: 'CUSTOM',
              triggerType: 'CTRLEVENT',
              id: 'wizardpanel_formsave',
            },
            {
              eventNames: 'LOAD',
              logicTag: 'wizardpanel_form_step1',
              logicType: 'CUSTOM',
              triggerType: 'CTRLEVENT',
              id: 'wizardpanel_formload',
            },
          ],
          controlParam: {
            id: 'wizardpanel_form_step1',
          },
          modelId: '27a0f8007e927ca64cbd2a6dd914fe06',
          modelType: 'PSDEFORM_EDITFORM',
          name: 'wizardpanel_form_step1',
          id: 'web.master.wizardform1',
        },
        {
          getControlAction: {
            appDEMethodId: 'gettemp',
            appDataEntityId: 'web.master',
            id: 'load',
          },
          updateControlAction: {
            appDEMethodId: 'updatetemp',
            appDataEntityId: 'web.master',
            id: 'update',
          },
          dewizardForm: {
            formTag: 'step2',
            deformName: '向导表单2',
            dewizardStepId: '步骤2',
            stepActions: ['PREV', 'NEXT'],
            stepTag: 'step2',
            id: '向导表单2',
          },
          formFuncMode: 'WIZARDFORM',
          deformPages: [
            {
              layout: {
                columnCount: 24,
                layout: 'TABLE_24COL',
              },
              deformDetails: [
                {
                  dataType: 6,
                  enableCond: 3,
                  labelPos: 'LEFT',
                  labelWidth: 130,
                  noPrivDisplayMode: 1,
                  appDEFieldId: 'quantity',
                  editor: {
                    editorType: 'TEXTBOX',
                    valueType: 'SIMPLE',
                    editable: true,
                    id: 'quantity',
                  },
                  allowEmpty: true,
                  caption: '数量',
                  codeName: 'quantity',
                  detailStyle: 'DEFAULT',
                  detailType: 'FORMITEM',
                  layoutPos: {
                    colMD: 24,
                    layout: 'TABLE_24COL',
                  },
                  showCaption: true,
                  id: 'quantity',
                },
                {
                  dataType: 25,
                  enableCond: 3,
                  labelPos: 'LEFT',
                  labelWidth: 130,
                  noPrivDisplayMode: 1,
                  appDEFieldId: 'id',
                  editor: {
                    editorType: 'HIDDEN',
                    valueType: 'SIMPLE',
                    editable: true,
                    id: 'id',
                  },
                  allowEmpty: true,
                  hidden: true,
                  capLanguageRes: {
                    lanResTag: 'DEF.LNAME.MASTER.ID',
                  },
                  caption: '标识',
                  codeName: 'id',
                  detailStyle: 'DEFAULT',
                  detailType: 'FORMITEM',
                  layoutPos: {
                    colMD: 24,
                    layout: 'TABLE_24COL',
                  },
                  id: 'id',
                },
              ],
              caption: '基本信息',
              codeName: 'formpage1',
              detailStyle: 'DEFAULT',
              detailType: 'FORMPAGE',
              id: 'formpage1',
            },
          ],
          layout: {
            columnCount: 24,
            layout: 'TABLE_24COL',
          },
          tabHeaderPos: 'TOP',
          noTabHeader: true,
          autoLoad: true,
          showBusyIndicator: true,
          codeName: 'wizardform2',
          controlType: 'FORM',
          logicName: '向导表单2',
          appDataEntityId: 'web.master',
          controlLogics: [
            {
              eventNames: 'SAVE',
              logicTag: 'wizardpanel_form_step2',
              logicType: 'CUSTOM',
              triggerType: 'CTRLEVENT',
              id: 'wizardpanel_formsave',
            },
            {
              eventNames: 'LOAD',
              logicTag: 'wizardpanel_form_step2',
              logicType: 'CUSTOM',
              triggerType: 'CTRLEVENT',
              id: 'wizardpanel_formload',
            },
          ],
          controlParam: {
            id: 'wizardpanel_form_step2',
          },
          modelId: 'e452b86a9003e954ec9735a764bbc707',
          modelType: 'PSDEFORM_EDITFORM',
          name: 'wizardpanel_form_step2',
          id: 'web.master.wizardform2',
        },
        {
          getControlAction: {
            appDEMethodId: 'gettemp',
            appDataEntityId: 'web.master',
            id: 'load',
          },
          updateControlAction: {
            appDEMethodId: 'updatetemp',
            appDataEntityId: 'web.master',
            id: 'update',
          },
          dewizardForm: {
            formTag: 'step3',
            deformName: '向导表单3',
            dewizardStepId: '步骤3',
            stepActions: ['PREV', 'FINISH'],
            stepTag: 'step3',
            id: '向导表单3',
          },
          formFuncMode: 'WIZARDFORM',
          deformPages: [
            {
              layout: {
                columnCount: 24,
                layout: 'TABLE_24COL',
              },
              deformDetails: [
                {
                  dataType: 25,
                  enableCond: 3,
                  itemHeight: 200,
                  labelPos: 'LEFT',
                  labelWidth: 130,
                  noPrivDisplayMode: 1,
                  appDEFieldId: 'description',
                  editor: {
                    maxLength: 2000,
                    showMaxLength: true,
                    editorHeight: 200,
                    editorParams: {
                      HEIGHT: '200',
                    },
                    editorType: 'TEXTAREA_10',
                    valueType: 'SIMPLE',
                    editable: true,
                    id: 'description',
                  },
                  allowEmpty: true,
                  caption: '描述',
                  codeName: 'description',
                  detailStyle: 'DEFAULT',
                  detailType: 'FORMITEM',
                  layoutPos: {
                    colMD: 24,
                    layout: 'TABLE_24COL',
                  },
                  showCaption: true,
                  id: 'description',
                },
                {
                  dataType: 25,
                  enableCond: 3,
                  labelPos: 'LEFT',
                  labelWidth: 130,
                  noPrivDisplayMode: 1,
                  appDEFieldId: 'id',
                  editor: {
                    editorType: 'HIDDEN',
                    valueType: 'SIMPLE',
                    editable: true,
                    id: 'id',
                  },
                  allowEmpty: true,
                  hidden: true,
                  capLanguageRes: {
                    lanResTag: 'DEF.LNAME.MASTER.ID',
                  },
                  caption: '标识',
                  codeName: 'id',
                  detailStyle: 'DEFAULT',
                  detailType: 'FORMITEM',
                  layoutPos: {
                    colMD: 24,
                    layout: 'TABLE_24COL',
                  },
                  id: 'id',
                },
              ],
              caption: '基本信息',
              codeName: 'formpage1',
              detailStyle: 'DEFAULT',
              detailType: 'FORMPAGE',
              id: 'formpage1',
            },
          ],
          layout: {
            columnCount: 24,
            layout: 'TABLE_24COL',
          },
          tabHeaderPos: 'TOP',
          noTabHeader: true,
          autoLoad: true,
          showBusyIndicator: true,
          codeName: 'wizardform3',
          controlType: 'FORM',
          logicName: '向导表单3',
          appDataEntityId: 'web.master',
          controlLogics: [
            {
              eventNames: 'SAVE',
              logicTag: 'wizardpanel_form_step3',
              logicType: 'CUSTOM',
              triggerType: 'CTRLEVENT',
              id: 'wizardpanel_formsave',
            },
            {
              eventNames: 'LOAD',
              logicTag: 'wizardpanel_form_step3',
              logicType: 'CUSTOM',
              triggerType: 'CTRLEVENT',
              id: 'wizardpanel_formload',
            },
          ],
          controlParam: {
            id: 'wizardpanel_form_step3',
          },
          modelId: '04c85a4cbac0838ce4263e8d7d8a5db1',
          modelType: 'PSDEFORM_EDITFORM',
          name: 'wizardpanel_form_step3',
          id: 'web.master.wizardform3',
        },
      ],
      dewizard: {
        codeName: 'Wizard_base',
        finishCaption: '完成',
        firstDEWizardFormId: '向导表单1',
        nextCaption: '下一步',
        dewizardForms: [
          {
            formTag: 'step1',
            deformName: '向导表单1',
            dewizardStepId: '步骤1',
            stepActions: ['NEXT'],
            stepTag: 'step1',
            firstForm: true,
            id: '向导表单1',
          },
          {
            formTag: 'step2',
            deformName: '向导表单2',
            dewizardStepId: '步骤2',
            stepActions: ['PREV', 'NEXT'],
            stepTag: 'step2',
            id: '向导表单2',
          },
          {
            formTag: 'step3',
            deformName: '向导表单3',
            dewizardStepId: '步骤3',
            stepActions: ['PREV', 'FINISH'],
            stepTag: 'step3',
            id: '向导表单3',
          },
        ],
        dewizardSteps: [
          {
            stepTag: 'step1',
            title: '步骤1',
            id: '步骤1',
          },
          {
            stepTag: 'step2',
            title: '步骤2',
            id: '步骤2',
          },
          {
            stepTag: 'step3',
            title: '步骤3',
            id: '步骤3',
          },
        ],
        prevCaption: '上一步',
        wizardStyle: 'DEFAULT',
        name: '向导_基础向导',
        id: 'mock.master.wizard_base',
      },
      wizardStyle: 'DEFAULT',
      showActionBar: true,
      showStepBar: true,
      autoLoad: true,
      showBusyIndicator: true,
      codeName: 'wizard_base',
      controlType: 'WIZARDPANEL',
      logicName: '向导_基础向导',
      appDataEntityId: 'web.master',
      controlParam: {
        id: 'wizardpanel',
      },
      modelId: 'ea4147a4f9f65af8994fc2cc804f263d',
      modelType: 'PSDEWIZARDPANEL',
      name: 'wizardpanel',
      id: 'web.master.wizard_base',
    },
    {
      capLanguageRes: {
        lanResTag: 'DE.LNAME.MASTER',
      },
      caption: '向导_事件',
      codeName: 'wizard_event_captionbar',
      controlType: 'CAPTIONBAR',
      appDataEntityId: 'web.master',
      controlParam: {},
      name: 'captionbar',
      id: 'wizard_event_captionbar',
    },
  ],
  viewLayoutPanel: {
    layoutBodyOnly: true,
    useDefaultLayout: true,
    layoutPanel: true,
    codeName: 'layoutpanel',
    controlStyle: 'APPDEWIZARDVIEW',
    controlType: 'VIEWLAYOUTPANEL',
    appDataEntityId: 'web.master',
    controlParam: {},
    id: 'layoutpanel',
  },
  title: '向导_事件',
  viewStyle: 'DEFAULT',
  viewType: 'DEWIZARDVIEW',
  enableDP: true,
  showCaptionBar: true,
  modelId: 'c6c7d02e7619d9105cd4427ee3c51c03',
  modelType: 'PSAPPDEVIEW',
  name: 'MASTERWizard_event',
  id: 'web.master_wizard_event',
};
